﻿using Mes.采购管理.model;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mes.仓库管理
{
    public class ApiResponse
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public DataResponse Data { get; set; }
    }

    public class DataResponse
    {
        public int Page { get; set; } // 假设后端返回总页数
                                            // 或者使用以下属性，根据实际返回的数据调整
                                            // public int TotalCount { get; set; }
        public List<Warehouse> Data { get; set; }
    }
    public class Warehouse
    {
        public int Id { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseNo { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 仓库区域
        /// </summary>
        public string WarehouseArea { get; set; }

        /// <summary>
        /// 位置编码
        /// </summary>
        public string AddrNo { get; set; }

        /// <summary>
        /// 面积
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string HeadPeople { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool States { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        public string Plan { get; set; }
    }
    public class ApiResponseEuid
    {
        public int Code { get; set; }
        public string Message { get; set; }
        public List<Warehouse> Data { get; set; }
    }
}
